package edu.task.model;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "sys_role_menu", schema = "task")
@IdClass(SysRoleMenuPK.class)
public class SysRoleMenu {
    @Id
    private Long roleId;
    @Id
    private Long menuId;
}
